home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 27.zip / BS1 part 27 / ImageMaster_d3.adf / piarc.lzh.parta / HBlind.rxwp < prev    next >
Text File  |  1992-10-27  |  553b  |  24 lines

  1. /* Test rexx script to fill wipe buffer */
  2.  
  3. parse arg cframe mframe
  4.  
  5. options;
  6. address;
  7.  
  8.   if mframe = 0 then do
  9.       call open(fhandle,'ram:IM_WIPE.tmp2','write');      /* open the file */
  10.       junk = writeln(fhandle, 0);
  11.       junk = writeln(fhandle, 1);
  12.       junk = writeln(fhandle, 1);
  13.       junk = writeln(fhandle, 1);
  14.       junk = writeln(fhandle, 0);
  15.       call close(fhandle);                     /* close the file    */
  16.     end;
  17.   else do
  18.     fp = cframe / mframe;
  19.     address("IM_WIPER");
  20.     'box 0,0,1,'||fp
  21.     'close'
  22.     end;
  23.   exit 0;
  24.